-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nimble/host: move att_truncate_to_mtu to ble_att_svr_tx_rsp #1879
Conversation
#AutoPTS run mynewt GATT/SR --test_case_limit 10 |
@rymanluk please review |
9f81db0
to
e123d39
Compare
e123d39
to
f79e5ff
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks good to me
f79e5ff
to
030cc74
Compare
@sjanc please approve workflow |
conn = ble_hs_conn_find(conn_handle); | ||
if (conn == NULL) { | ||
hs_status = BLE_HS_ENOTCONN; | ||
goto done; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this return with locked hs lock...
also I think ble_hs_conn_chan_find_by_scid() and ble_att_truncate_to_mtu() should also be under lock
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
Move att_truncate_to_mtu from ble_eatt_tx to ble_att_svr_tx_rsp. This could cause some issues when used by client.
030cc74
to
b83d3de
Compare
No description provided.